//
//  LZLanguageManager.h
//  laziz_Consumer
//
//  Created by xbn_iMac on 2016/11/22.
//  Copyright © 2016年 XBN. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_OPTIONS(NSUInteger, LanguageType) {
    LanguageType_Default = 1 << 0,  //无法识别的时候就是默认类型 ps: 显示的时候使用英文
    LanguageType_En = 1 << 1,  //英语
    LanguageType_Ar = 1 << 2,  //阿拉伯
};

@interface LZLanguageManager : NSObject

@property (nonatomic, copy) NSString *system_language;

@property (nonatomic ,assign) BOOL isChangeLanguage;

+(instancetype)shareInstance;

-(void)showChangeLanguageAlert;

-(NSBundle *)getBundle;

-(void)initUserLanguage;

-(LanguageType)getLanguageType;

-(void)setUserlanguage:(NSString *)language;

-(void)setAppleLanguages_en;

@end
